/**
 * tag判断，根据平台比如 a-xxx el-xxx
 */
const platformList = {
  ant: {
    label: 'ant-design-vue',
    tagKey: 'a',
  },
  element: {
    label: 'element-ui',
    tagKey: 'el',
  }
}
const platform = 'ant'
export function getTag (tag: string) {
  const first = platformList[platform].tagKey + '-'
  if (tag.indexOf(first) === -1) {
    return first + tag
  } else {
    return tag
  }
}
